<%--
  Created by IntelliJ IDEA.
  User: v
  Date: 17-5-24
  Time: 下午6:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改数据</title>
</head>
<body>
<form id="form" method="post" action="/UpdataServlet?page=<%=request.getParameter("page")%>">
    <table align="center" width="450" border="10">
        <tr>
            <td align="center" colspan="2">
                <h2>修改图书信息</h2>
                <hr>
            </td>
        </tr>
        <tr>
            <td align="right">图书ID</td>
            <td><input type="text" name="id" readonly="readonly" value="<%=request.getParameter("id")%>"></td>
        </tr>
        <tr>
            <td align="right">图书名称:</td>
            <td><input type="text" name="name" value="<%=request.getParameter("name")%>"></td>
        </tr>
        <tr>
            <td align="right">价　格：</td>
            <td><input type="text" name="price" value="<%=request.getParameter("price")%>"></td>
        </tr>
        <tr>
            <td align="right">数　量</td>
            <td><input type="text" name="amount" value="<%=request.getParameter("amount")%>"></td>
        </tr>
        <tr>
            <td align="right">作　者</td>
            <td><input type="text" name="author" value="<%=request.getParameter("author")%>"></td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <input type="submit" value="修改">
            </td>
        </tr>
    </table>
</form>

<input type="button" value="返回首页" onclick="location.href='/index.jsp'" style="position: absolute;bottom: 20%;left: 45%;">
</body>
</html>
